package io;

import java.io.File;

public class IODemo5 {
    public static void main(String[] args) {
        File file = new File("./aaa/bbb/ccc");
        //需要在构造方法中把路径创建好，然后再进行创建
        //boolean ret = file.mkdir();
        boolean ret = file.mkdirs();
        System.out.println(ret);
    }
}
